package com.chouxiaozi.feignclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient("PROVIDER-PAYMENT")
public interface PaymentFeignClient {

    @GetMapping("/payment/hello")
    String getPaymentById();

    @GetMapping("/payment/feign/timeout")
    String paymentFeignTimeOut();
}
